home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 23 / AMIGAplus Sonderheft 23 (2000)(Falke)(DE)[!].iso / Updates / Librarys / Terminal Libs / Install Terminal Libs next >
Text File  |  1998-07-27  |  4KB  |  152 lines

  1. ;
  2. ; $VER: IOBlix terminal libraries installation 1.1 (24.7.98)
  3. ;
  4. ; Copyright (c) 1998 Thore Böckelmann and RBM Computertechnik
  5. ;
  6.  
  7. ;****************************************************************************
  8. ;
  9. ; English texts
  10. ;
  11. (if (not (= @language "deutsch"))
  12.   (
  13.     (set #installinfo   (cat "\n"
  14.                              "This will install the two libraries\n"
  15.                              "\"OwnDevUnit.library\"\n"
  16.                              "and\n"
  17.                              "\"xprzmodem.library\"\n"
  18.                              "as well as some preferences for the ZModem protocoll on your\n"
  19.                              "computer. The IOBlix board has intensively been tested with\n"
  20.                              "these libraries.\n"
  21.                              "\n"
  22.                              "Do you want to install the libraries now?\n"))
  23.     (set #selectlibs    "\nWhere to install the libraries?\n")
  24.     (set #selectenv     "\nWhere to install the ZModem environment variable?\n")
  25.     (set #selectdl      (cat "\n"
  26.                              "Where are downloaded files stored?\n"
  27.                              "This path is stored in the environment variable\n"))
  28.     (set #copylibs      "\nCopying libraries...\n")
  29.     (set #copyenv       "\nCopying environment variable...\n")
  30.   )
  31. )
  32.  
  33. ;****************************************************************************
  34. ;
  35. ; Deutsche Texte
  36. ;
  37. (if (= @language "deutsch")
  38.   (
  39.     (set #installinfo   (cat "\n"
  40.                              "Hiermit werden die beiden Bibliotheken\n"
  41.                              "\"OwnDevUnit.library\"\n"
  42.                              "und\n"
  43.                              "\"xprzmodem.library\"\n"
  44.                              "so wie Einstellungen für das ZModem-Protokoll auf Ihrem Rechner\n"
  45.                              "installiert. Die IOBlix-Karte wurde intensiv mit diesen Bibliotheken\n"
  46.                              "getestet.\n"
  47.                              "\n"
  48.                              "Wollen Sie die Bibliotheken nun installieren?\n"))
  49.     (set #selectlibs    (cat "\n"
  50.                              "Wohin sollen die Bibliotheken kopiert werden?\n"
  51.                              "Dieser Pfad wird in der Umgebungsvariable gespeichert\n"))
  52.     (set #selectenv     "\nWohin soll die ZModem-Umgebungsvariable kopiert werden?\n")
  53.     (set #selectdl      "\nWohin sollten empfangene Dateien gespeichert werden?\n")
  54.     (set #copylibs      "\nKopiere Bibliotheken...\n")
  55.     (set #copyenv       "\nKopiere Umgebungsvariable...\n")
  56.  )
  57. )
  58.  
  59. ;****************************************************************************
  60. ;
  61. ; Welcome
  62. ;
  63.  
  64. (welcome)
  65.  
  66. (complete 10)
  67.  
  68. (if
  69.   (not
  70.     (askbool
  71.       (prompt #installinfo)
  72.       (help @askbool-help)
  73.     )
  74.   )
  75.   (exit (quiet))
  76. )
  77.  
  78. ;****************************************************************************
  79. ;
  80. ; Setup directory
  81. ;
  82.  
  83. (set #destlibs
  84.   (askdir
  85.     (prompt #selectlibs)
  86.     (help @askdir-help)
  87.     (default "LIBS:")
  88.   )
  89. )
  90.  
  91. (set #destenv
  92.   (askdir
  93.     (prompt #selectenv)
  94.     (help @askdir-help)
  95.     (default "ENVARC:")
  96.   )
  97. )
  98.  
  99. (set #destdl
  100.   (askdir
  101.     (prompt #selectdl)
  102.     (help @askdir-help)
  103.     (default "INBOUND:")
  104.   )
  105. )
  106.  
  107. ;****************************************************************************
  108. ;
  109. ; Install devices
  110. ;
  111.  
  112. (copylib
  113.   (help @copylib-help)
  114.   (prompt #copylibs)
  115.   (source "OwnDevUnit.library")
  116.   (dest #destlibs)
  117.   (confirm)
  118. )
  119.  
  120. (copylib
  121.   (help @copylib-help)
  122.   (prompt #copylibs)
  123.   (source "xprzmodem.library")
  124.   (dest #destlibs)
  125.   (confirm)
  126. )
  127.  
  128. (textfile
  129.   (dest (tackon #destenv "xprzmodem"))
  130.   (prompt "")
  131.   (help "")
  132.   (append (cat "TC,OR,B16,F65536,E20,AY,DN,KY,SN,RN,P" #destdl ",M1024"))
  133. )
  134.  
  135. (textfile
  136.   (dest "env:xprzmodem")
  137.   (prompt "")
  138.   (help "")
  139.   (append (cat "TC,OR,B16,F65536,E20,AY,DN,KY,SN,RN,P" #destdl ",M1024"))
  140. )
  141.  
  142. (complete 50)
  143.  
  144. ;****************************************************************************
  145. ;
  146. ; Exit
  147. ;
  148.  
  149. (complete 100)
  150. (exit)
  151.  
  152.